package com.zjc.yohoshop.mvp.model;

import com.zjc.lib_core.http.MResponseManager;
import com.zjc.lib_core.mvp.model.BaseModel;
import com.zjc.yohoshop.bean.BrandEntity;
import com.zjc.yohoshop.mvp.contract.BrandFragmentContract;
import com.zjc.yohoshop.network.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class BrandFragmentModel extends BaseModel implements BrandFragmentContract.BrandFragmentIModel {

    @Inject
    public BrandFragmentModel() {}

    @Override
    public Observable<BrandEntity> brandRequest(String request) {
        return MResponseManager.obtainRetrofit(API.class).brand_list_requwst(request);
    }

    @Override
    public void destroy() {

    }
}
